package com.api.hg.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;

@Table(value="Uf_cxjlb",datasource = "local")
//Uf_cxjlbExceptionBaseService
public class Uf_cxjlb {
    @Field(dbFiledName="")
    private String gbzcid="";//关报资产ID
    @Field(dbFiledName="")
    private String swzcid="";//	实物资产ID
    @Field(dbFiledName="")
    private String bz="";//备注
    @Field(dbFiledName="")
    private String xzr="";//销账人
    @Field(dbFiledName="")
    private String xzszks="";//销账所在科室
    @Field(dbFiledName="")
    private String xzszbm="";//销账所在部门
    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="203";//模型ID 默认值 本地14 海关测试195 海关正式203
    @Field(dbFiledName="")
    private String modedatacreatertype="0";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    public Uf_cxjlb(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }

    public String getGbzcid() {
        return gbzcid;
    }
    public void setGbzcid(String gbzcid) {
        this.gbzcid = gbzcid;
    }

    public String getSwzcid() {
        return swzcid;
    }
    public void setSwzcid(String swzcid) {
        this.swzcid = swzcid;
    }

    public String getBz() { return bz; }
    public void setBz(String bz) { this.bz = bz; }

    public String getXzr() { return xzr; }
    public void setXzr(String xzr) { this.xzr = xzr; }

    public String getXzszks() {
        return xzszks;
    }
    public void setXzszks(String xzszks) {
        this.xzszks = xzszks;
    }

    public String getXzszbm() {
        return xzszbm;
    }
    public void setXzszbm(String xzszbm) {
        this.xzszbm = xzszbm;
    }

    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }
    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }
    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }
    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }
    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    @Override
    public String toString() {
            return "Uf_cxjlb{" +
                "gbzcid='" + gbzcid + '\'' +
                ", swzcid='" + swzcid + '\'' +
                ", bz='" + bz + '\'' +
                ", xzr='" + xzr + '\'' +
                ", xzszks='" + xzszks + '\'' +
                ", xzszbm='" + xzszbm + '\'' +
                ", modedatacreater='" + modedatacreater + '\'' +
                ", modedatacreatedate='" + modedatacreatedate + '\'' +
                ", formmodeid='" + formmodeid + '\'' +
                ", modedatacreatertype='" + modedatacreatertype + '\'' +
                ", modedatacreatetime='" + modedatacreatetime + '\'' +
                '}';
    }
}
